import { Spin } from "antd";
import styled from "@emotion/styled";

export default () => (
  <LoadingContainer>
    <Spin size={"large"} />
  </LoadingContainer>
);

const LoadingContainer = styled.div`
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
`;
